package com.justin.oauthserver.mapper;

import com.justin.oauthserver.domain.Permission;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface PermissionMapper extends Mapper<Permission> {
    List<Permission> selectByUserId(@Param("userId") Long userId);
}